import pygame
import sys

from pygame_test.Arc import Arc

pygame.init()

winx = 500
winy = 500
screen = pygame.display.set_mode((winx, winy))
fclock = pygame.time.Clock()
r = pygame.Rect(10, 10, 200, 200)
a = Arc(r,(255,255,255),30, 135)
while True:
    for event in pygame.event.get():
        if event.type == pygame.QUIT:
            pygame.quit()
            sys.exit()
    screen.fill((0, 0, 0))
    a.draw(screen)
    # pygame.draw.arc(screen,(0, 119, 184),(120,120,100,300),0,3.14/2,3)
    pygame.display.update()
    fclock.tick(20)
